package u.hnx.admin.security.api;

public interface SecurityPropertyAPI {
    public final static String PREFIX = "admin.security";
    public final static String REMEMBER_ME = "rememberMe";
    public final static String PROCESS_URL = "/login";
    public final static  String LOGOUT = "/logout";
    public final static String USERNAME = "username";
    public final static Integer MAXIMUM = 1;
    public final static String PASSWORD = "password";
    public final static String CAPTCHA = "captcha";
    public final static String UUID = "uuid";
    public final static Integer MAX_NUM = 2;
    public final static Integer DEFAULT_MAX_RETRY_COUNT = 5;/*最大错误登录次数*/
    public final static Integer DEFAULT_LOCK_TIME = 10;/*锁定时间*/
    public final static String PARAM_BLANK_ERROR = "登录请求参数不能为空";
    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";
}
